package com.zapi.ai.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * AI聊天历史记录实体
 */
@Data
@TableName("ai_chat_history")
public class AiChatHistory {
    
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    
    private String userId;
    
    private String sessionId;
    
    private String role;
    
    private String content;
    
    private String images;
    
    private String files;
    
    private String model;
    
    private Integer tokens;
    
    private LocalDateTime createTime;
}

